<template>
    <div class="but">
      <el-button type="primary" @click="openDialogfun">+新增</el-button>
    </div>
</template>
<script>
export default {
    methods: {
        openDialogfun(){
            this.$emit("parentopen")
        }
    },
};
</script>
<style lang="less" scoped>
.but{
    background-color: #fff;
    height: 60px;
    margin: 20px 0;
    // display: flex;
    // justify-content: space-between;
}
.el-button{
    float: right;
    width: 100px;
    height: 30px;
    margin-right: 34px;
    margin-top: 15px;
}
</style>